{include file="public/header" /}
<body class="bgc">
<div class="header">
    <span class="layui-icon layui-icon-left" onclick="load_href('{:url(\'order/my_order\')}?type=2',2)"></span> 支付结果
</div>

<div class="pay-result-news flex-center">
    <img src="/static/index/img/icon7.png" alt="">
    <p class="title">订单支付成功</p>
    <div class="pay-result-btn">
        <a class="flex-center" href="/">返回首页</a>
        <a class="flex-center" href="{:url('order/my_order')}?type=2">查看订单</a>
    </div>
</div>

<div class="tpl_list"></div>
<script id="template" type="text/html">
    <div class="pay-like flex-center">
        <span></span>猜您喜欢
        <span></span>
    </div>
    <ul class="index-list tpl_list">
        {{# for(var i = 0; i < d.data.length; i++){ }}
        <li>
            <a href="{:url('product/details')}?id={{d.data[i].id}}">
                <p class="flex-center">
                    <img lay-src="{{d.data[i].icon}}" src="{{d.data[i].icon}}" alt="">
                </p>
                <div>
                    <p class="multi">{{d.data[i].title}}</p>
                    <p class="price">￥<span>{{d.data[i].vip_price}}</span></p>
                    <p class="flex-layout"><span>￥{{d.data[i].price}}</span>销量{{d.data[i].sales}}</p>
                </div>
            </a>
        </li>
        {{# } }}
    </ul>
</script>
</body>
{include file="public/footer"/}
<script>
    $(function () {
        getFlow(1, "{:url('product/getList')}?pick=1",'template','');
    })
</script>
</html>